home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_24153.txt < prev    next >
Text File  |  1990-10-02  |  6KB  |  288 lines

  1. -- card: 24153 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 15987
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   send cardOpened to background
  9. end openCard
  10.  
  11. on move
  12.   global direction,trollDead,blastWall,chase,blasting
  13.   if direction = "east" or direction = "up" or direction = "rear" then
  14.     go card id 3186
  15.     exit move
  16.   end if
  17.   if direction = "west" or direction = "down" then
  18.     if blastWall then
  19.       go to card id 25160
  20.     else
  21.       go to card id 24636
  22.     end if
  23.     exit move
  24.   end if
  25.   pass move
  26. end move
  27.  
  28.  
  29. on closeCard
  30.   set the cursor to 4
  31.   put "" into field 3
  32. end closeCard
  33.  
  34. on take
  35.   global object,carried
  36.   -- remember to update carried if you do not pass take
  37.   pass take
  38. end take
  39.  
  40. on drop
  41.   global object,dropRoom,carried
  42.   -- remember to update carried if you do not pass take
  43.   pass drop
  44. end drop
  45.  
  46. on use
  47.   global object,carried
  48.   -- update carried if use results in loss of object
  49.   pass use
  50. end use
  51.  
  52.  
  53.  
  54.  
  55.  
  56. -- part 16 (button)
  57. -- low flags: 80
  58. -- high flags: 2000
  59. -- rect: left=221 top=230 right=266 bottom=255
  60. -- title width / last selected line: 0
  61. -- icon id / first selected line: 9301 / 9301
  62. -- text alignment: 1
  63. -- font id: 0
  64. -- text size: 12
  65. -- style flags: 0
  66. -- line height: 16
  67. -- part name: knife
  68. ----- HyperTalk script -----
  69. on mouseUp
  70.   global takeFlag,examFlag,object,cardID
  71.   put the name of the target into object
  72.   if takeFlag = true
  73.   then send take to card id cardID
  74. else put "a knife" into field 3
  75. put false into examFlag
  76. end mouseUp
  77.  
  78.  
  79.  
  80. -- part 17 (button)
  81. -- low flags: 80
  82. -- high flags: 2000
  83. -- rect: left=17 top=223 right=259 bottom=51
  84. -- title width / last selected line: 0
  85. -- icon id / first selected line: 1015 / 1015
  86. -- text alignment: 1
  87. -- font id: 0
  88. -- text size: 12
  89. -- style flags: 0
  90. -- line height: 16
  91. -- part name: nodule
  92. ----- HyperTalk script -----
  93. on mouseUp
  94.   global takeFlag,examFlag,object,cardID
  95.   put the name of the target into object
  96.   if takeFlag = true
  97.   then send take to card id cardID
  98. else put "a silicon sphere" into field 3
  99. put false into examFlag
  100. end mouseUp
  101.  
  102.  
  103.  
  104. -- part 18 (button)
  105. -- low flags: 80
  106. -- high flags: 2000
  107. -- rect: left=20 top=184 right=220 bottom=54
  108. -- title width / last selected line: 0
  109. -- icon id / first selected line: 14953 / 14953
  110. -- text alignment: 1
  111. -- font id: 0
  112. -- text size: 12
  113. -- style flags: 0
  114. -- line height: 16
  115. -- part name: ladder
  116. ----- HyperTalk script -----
  117. on mouseUp
  118.   global takeFlag,examFlag,object,cardID
  119.   put the name of the target into object
  120.   if takeFlag = true
  121.   then send take to card id cardID
  122. else put "a rope ladder" into field 3
  123. put false into examFlag
  124. end mouseUp
  125.  
  126.  
  127.  
  128. -- part 19 (button)
  129. -- low flags: 80
  130. -- high flags: 2000
  131. -- rect: left=155 top=232 right=268 bottom=189
  132. -- title width / last selected line: 0
  133. -- icon id / first selected line: 1019 / 1019
  134. -- text alignment: 1
  135. -- font id: 0
  136. -- text size: 12
  137. -- style flags: 0
  138. -- line height: 16
  139. -- part name: bomb
  140. ----- HyperTalk script -----
  141. on mouseUp
  142.   global takeFlag,examFlag,object,cardID
  143.   put the name of the target into object
  144.   if takeFlag = true
  145.   then send take to card id cardID
  146. else put "a time bomb" into field 3
  147. put false into examFlag
  148. end mouseUp
  149.  
  150.  
  151.  
  152. -- part 20 (button)
  153. -- low flags: 80
  154. -- high flags: 2000
  155. -- rect: left=55 top=232 right=268 bottom=89
  156. -- title width / last selected line: 0
  157. -- icon id / first selected line: 24317 / 24317
  158. -- text alignment: 1
  159. -- font id: 0
  160. -- text size: 12
  161. -- style flags: 0
  162. -- line height: 16
  163. -- part name: key
  164. ----- HyperTalk script -----
  165. on mouseUp
  166.   global takeFlag,examFlag,object,cardID
  167.   put the name of the target into object
  168.   if takeFlag = true
  169.   then send take to card id cardID
  170. else put "a key" into field 3
  171. put false into examFlag
  172. end mouseUp
  173.  
  174.  
  175.  
  176. -- part 21 (button)
  177. -- low flags: 80
  178. -- high flags: 2000
  179. -- rect: left=188 top=233 right=269 bottom=222
  180. -- title width / last selected line: 0
  181. -- icon id / first selected line: 7012 / 7012
  182. -- text alignment: 1
  183. -- font id: 0
  184. -- text size: 12
  185. -- style flags: 0
  186. -- line height: 16
  187. -- part name: gem
  188. ----- HyperTalk script -----
  189. on mouseUp
  190.   global takeFlag,examFlag,object,cardID
  191.   put the name of the target into object
  192.   if takeFlag = true
  193.   then send take to card id cardID
  194. else put "a glowing gem" into field 3
  195. put false into examFlag
  196. end mouseUp
  197.  
  198.  
  199.  
  200. -- part 22 (button)
  201. -- low flags: 80
  202. -- high flags: 2000
  203. -- rect: left=89 top=232 right=268 bottom=123
  204. -- title width / last selected line: 0
  205. -- icon id / first selected line: 23078 / 23078
  206. -- text alignment: 1
  207. -- font id: 0
  208. -- text size: 12
  209. -- style flags: 0
  210. -- line height: 16
  211. -- part name: orb
  212. ----- HyperTalk script -----
  213. on mouseUp
  214.   global takeFlag,examFlag,object,cardID
  215.   put the name of the target into object
  216.   if takeFlag = true
  217.   then send take to card id cardID
  218. else put "a crystal orb" into field 3
  219. put false into examFlag
  220. end mouseUp
  221.  
  222.  
  223.  
  224. -- part 34 (button)
  225. -- low flags: 00
  226. -- high flags: 0000
  227. -- rect: left=106 top=83 right=155 bottom=148
  228. -- title width / last selected line: 0
  229. -- icon id / first selected line: 0 / 0
  230. -- text alignment: 1
  231. -- font id: 0
  232. -- text size: 12
  233. -- style flags: 0
  234. -- line height: 16
  235. -- part name: 
  236. ----- HyperTalk script -----
  237. on mouseUp
  238.   global examFlag,direction,cardID
  239.   if examFlag then
  240.     put "a stone stairway leading west and downward." into field 3
  241.     put false into examFlag
  242.   else
  243.     put "west" into direction
  244.     send move to card id cardID
  245.   end if
  246. end mouseUp
  247.  
  248.  
  249.  
  250. -- part 36 (button)
  251. -- low flags: 00
  252. -- high flags: 0000
  253. -- rect: left=53 top=156 right=233 bottom=221
  254. -- title width / last selected line: 0
  255. -- icon id / first selected line: 0 / 0
  256. -- text alignment: 1
  257. -- font id: 0
  258. -- text size: 12
  259. -- style flags: 0
  260. -- line height: 16
  261. -- part name: 
  262. ----- HyperTalk script -----
  263. on mouseUp
  264.   global examFlag,takeFlag,direction,cardID
  265.   if takeFlag then
  266.     put "Too heavy.  Besides, it's a bloody mess." into field 3
  267.     put false into takeFlag
  268.   else
  269.     put "A very dead troll." into field 3
  270.     put false into examFlag
  271.   end if
  272. end mouseUp
  273.  
  274.  
  275.  
  276. -- part contents for background part 25
  277. ----- text -----
  278. Long Stairway
  279. (looking west)
  280.  
  281. -- part contents for background part 24
  282. ----- text -----
  283. You are on a stone stairway leading downward to the west and upward to the east.  A cool, dank breeze is whistling up the stairs.
  284. The well-hacked body of a large troll lies dead upon the stairs.
  285.  
  286. -- part contents for background part 36
  287. ----- text -----
  288. 1